<?php
namespace app\admin\controller;

use app\admin\controller\Base;

class Index extends Base
{
    public function index(): \think\response\Json
    {
        return $this->returnSuccess([$this->routeUri,app_name()]);
    }

    public function hello($name = 'ThinkPHP6'): string
    {
        return 'hello,' . $name;
    }
}
